package com.lh.web.service.impl.order;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lh.common.entity.admin.OrderAfterSaleLog;
import com.lh.common.entity.admin.OrderLog;
import com.lh.web.dao.admin.OrderAfterSaleLogMapper;
import com.lh.web.service.serviceAdmin.order.OrderAfterSaleLogService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author FH
 * @ClassName:
 * @Description: (类作用)
 * @date: 2020-05-19 14:44
 */
@Service
public class OrderAfterSaleLogServiceImpl extends ServiceImpl<OrderAfterSaleLogMapper, OrderAfterSaleLog> implements OrderAfterSaleLogService {

    @Override
    public int insertOrderLog(Long userId, String afterSaleId, String oldStatus, String newStatus, String remark) {
        return this.baseMapper.insertOrderLog(userId,afterSaleId,oldStatus,newStatus,remark);
    }

    @Override
    public List<OrderLog> queryAfterSalesLog(String afterSaleId) {
        return this.baseMapper.queryAfterSalesLog(afterSaleId);
    }
}
